﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shop.Model
{
    /// <summary>  </summary>
    public class NeedBuyerInfo
    {
        [Column(IsPrimary =true, IsIdentity =true)]
        public int id { set; get; }


        /// <summary> 原始单号 </summary>
        [Column(StringLength = 300)]
        public string src_tids { set; get; }


        [Column(StringLength =100)]
        public string LogiNo { set; get; }  


        [Column(StringLength =100)]
        public string TradeNo { set; get; }


        /// <summary> 店铺名称 </summary>
        [Column(StringLength = 100)]
        public string ShopName { set; get; }

        /// <summary> 平台名称 </summary>
        [Column(StringLength = 100)]
        public string PlatName { set; get; }

        /// <summary> 商家编码 </summary>
        [Column(StringLength = 150)]
        public string spec_no { set; get; }

        /// <summary> 仓库 </summary>
        [Column(StringLength = 150)]
        public string Stock { set; get; }

        /// <summary>  </summary>
        [Column(Precision =18, Scale =4)]
        public decimal Qty { set; get; }

        [Column(StringLength =100)]
        public string BuyerName { set; get; }


        [Column(StringLength = 600)]
        public string BuyerAddress { set; get; }

        [Column(StringLength = 50)]
        public string Phone { set; get; }



        public bool IsOk { set; get; }


        /// <summary> 查询结果 </summary>
        public bool noInfo { get; set; }


        /// <summary> 是否发货 </summary>
        public bool IsDelivery { get; set; }


        public bool isdel { set; get; }

        [Column(StringLength =30)]
        public string FUser { get; set; }


        public DateTime FTime { get; set; }


        /// <summary>  </summary>
        public NeedBuyerInfo Clone()
        {
            return this.MemberwiseClone() as NeedBuyerInfo;
        }
    }
}
